package com.edu.koTA07.bean;

public class BarangBean {

	public String IDBarang;
	public String IDKategori;
	public String namaBarang;
	public long hargaBarang;
	public boolean checkedBarang;
	
	
	public String getIDBarang() {
		return IDBarang;
	}
	public void setIDBarang(String iDBarang) {
		IDBarang = iDBarang;
	}
	public String getIDKategori() {
		return IDKategori;
	}
	public void setIDKategori(String iDKategori) {
		this.IDKategori = iDKategori;
	}
	public String getNamaBarang() {
		return namaBarang;
	}
	public void setNamaBarang(String namaBarang) {
		this.namaBarang = namaBarang;
	}
	public long getHargaBarang() {
		return hargaBarang;
	}
	public void setHargaBarang(long hargaBarang) {
		this.hargaBarang = hargaBarang;
	}	
	
	public void setSelectedBarang(boolean checkedBarang) {
		this.checkedBarang = checkedBarang;
	}	
	
	public boolean isSelected()
	{
		return this.checkedBarang;
	}
}
